package com.sky.mapper.admin;

import com.sky.pojo.Merchant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface MerchantMapper {


    @Select("select * from sky_take_out_new.merchant where id = #{id}")
    public Merchant selectById(Long id);


    @Select("select * from sky_take_out_new.merchant where id = #{id}")
    Merchant getShopById(@Param("id") Long id);
}
